<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::MeshCellLinkedList Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_mesh_cell_linked_list.html">MeshCellLinkedList</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_s_p_h_1_1_mesh_cell_linked_list-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::MeshCellLinkedList Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Defining a mesh cell linked list for a body. The meshes for all bodies share the same global coordinates.  
 <a href="class_s_p_h_1_1_mesh_cell_linked_list.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="mesh__cell__linked__list_8h_source.html">mesh_cell_linked_list.h</a>&gt;</code></p>

<p>Inherits <a class="el" href="class_s_p_h_1_1_base_mesh_cell_linked_list.html">SPH::BaseMeshCellLinkedList</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a12b10a765406e711a2735aa70b5ae8e0"><td class="memItemLeft" align="right" valign="top"><a id="a12b10a765406e711a2735aa70b5ae8e0"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MeshCellLinkedList</b> (<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> &amp;sph_body, <a class="el" href="class_s_p_h_1_1_particle_adaptation.html">ParticleAdaptation</a> &amp;particle_adaptation, <a class="el" href="namespace_s_p_h.html#ad185cdeb05bdee76bf975cc50f1c15b7">BoundingBox</a> tentative_bounds, Real grid_spacing, <a class="el" href="classsize__t.html">size_t</a> buffer_width=2)</td></tr>
<tr class="separator:a12b10a765406e711a2735aa70b5ae8e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c613140524b249bacdda660ea034c4f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh_cell_linked_list.html#a9c613140524b249bacdda660ea034c4f">allocateMeshDataMatrix</a> () override</td></tr>
<tr class="separator:a9c613140524b249bacdda660ea034c4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada1a1f766ca5a8ba020bfaed1365fe20"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh_cell_linked_list.html#ada1a1f766ca5a8ba020bfaed1365fe20">deleteMeshDataMatrix</a> () override</td></tr>
<tr class="separator:ada1a1f766ca5a8ba020bfaed1365fe20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b58d3ca4e60cb4a8cea294e8d4f8f1b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh_cell_linked_list.html#a1b58d3ca4e60cb4a8cea294e8d4f8f1b">assignBaseParticles</a> (<a class="el" href="class_s_p_h_1_1_base_particles.html">BaseParticles</a> *base_particles) override</td></tr>
<tr class="separator:a1b58d3ca4e60cb4a8cea294e8d4f8f1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac82282b248131e2c3fbab14788e1fd18"><td class="memItemLeft" align="right" valign="top"><a id="ac82282b248131e2c3fbab14788e1fd18"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>clearCellLists</b> ()</td></tr>
<tr class="separator:ac82282b248131e2c3fbab14788e1fd18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee31af41139d864020db60f11cdc17f9"><td class="memItemLeft" align="right" valign="top"><a id="aee31af41139d864020db60f11cdc17f9"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>UpdateCellListData</b> ()</td></tr>
<tr class="separator:aee31af41139d864020db60f11cdc17f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c9d043f14c2b4c80f2fc7f7580d05bb"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh_cell_linked_list.html#a8c9d043f14c2b4c80f2fc7f7580d05bb">UpdateCellLists</a> () override</td></tr>
<tr class="separator:a8c9d043f14c2b4c80f2fc7f7580d05bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8746ce9df2de1eaae23f8db58e338d3c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh_cell_linked_list.html#a8746ce9df2de1eaae23f8db58e338d3c">insertACellLinkedParticleIndex</a> (<a class="el" href="classsize__t.html">size_t</a> particle_index, Vecd particle_position) override</td></tr>
<tr class="separator:a8746ce9df2de1eaae23f8db58e338d3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c9cf2d1e07d89889290ee1898360837"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh_cell_linked_list.html#a7c9cf2d1e07d89889290ee1898360837">InsertACellLinkedListDataEntry</a> (<a class="el" href="classsize__t.html">size_t</a> particle_index, Vecd particle_position) override</td></tr>
<tr class="separator:a7c9cf2d1e07d89889290ee1898360837"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd59a167627596a884755d3d16000b75"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespace_s_p_h.html#a7fbc15167459a37683f40cb4a5aa0f06">ListData</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh_cell_linked_list.html#abd59a167627596a884755d3d16000b75">findNearestListDataEntry</a> (Vecd &amp;position) override</td></tr>
<tr class="separator:abd59a167627596a884755d3d16000b75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad59e41c37c358ddd30fedd194f4e8673"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh_cell_linked_list.html#ad59e41c37c358ddd30fedd194f4e8673">computingSequence</a> (StdLargeVec&lt; <a class="el" href="classsize__t.html">size_t</a> &gt; &amp;sequence) override</td></tr>
<tr class="separator:ad59e41c37c358ddd30fedd194f4e8673"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a946badf5235c75ef060f9a5081424b04"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh_cell_linked_list.html#a946badf5235c75ef060f9a5081424b04">tagBodyPartByCell</a> (<a class="el" href="namespace_s_p_h.html#a54f9b375e654fcf04192f5a123495808">CellLists</a> &amp;cell_lists, std::function&lt; <a class="el" href="classbool.html">bool</a>(Vecd, Real)&gt; &amp;check_included) override</td></tr>
<tr class="separator:a946badf5235c75ef060f9a5081424b04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc6a8456e3cd0b9c5a48a24bc527aec8"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh_cell_linked_list.html#afc6a8456e3cd0b9c5a48a24bc527aec8">tagBodyDomainBoundingCells</a> (StdVec&lt; <a class="el" href="namespace_s_p_h.html#a54f9b375e654fcf04192f5a123495808">CellLists</a> &gt; &amp;cell_lists, <a class="el" href="namespace_s_p_h.html#ad185cdeb05bdee76bf975cc50f1c15b7">BoundingBox</a> &amp;body_domain_bounds, <a class="el" href="classint.html">int</a> axis) override</td></tr>
<tr class="separator:afc6a8456e3cd0b9c5a48a24bc527aec8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22672d86d257723623d17c2d033d0378"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh_cell_linked_list.html#a22672d86d257723623d17c2d033d0378">tagMirrorBoundingCells</a> (<a class="el" href="namespace_s_p_h.html#a54f9b375e654fcf04192f5a123495808">CellLists</a> &amp;cell_lists, <a class="el" href="namespace_s_p_h.html#ad185cdeb05bdee76bf975cc50f1c15b7">BoundingBox</a> &amp;body_domain_bounds, <a class="el" href="classint.html">int</a> axis, <a class="el" href="classbool.html">bool</a> positive) override</td></tr>
<tr class="separator:a22672d86d257723623d17c2d033d0378"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45cd0d458dd88bbb4a6ae84c786c6655"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh_cell_linked_list.html#a45cd0d458dd88bbb4a6ae84c786c6655">writeMeshToPltFile</a> (std::ofstream &amp;output_file) override</td></tr>
<tr class="separator:a45cd0d458dd88bbb4a6ae84c786c6655"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa83d5000985b89b40625299fab372fea"><td class="memTemplParams" colspan="2">template&lt;typename GetParticleIndex , typename GetSearchRange , typename GetNeighborRelation &gt; </td></tr>
<tr class="memitem:aa83d5000985b89b40625299fab372fea"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh_cell_linked_list.html#aa83d5000985b89b40625299fab372fea">searchNeighborsByParticles</a> (<a class="el" href="classsize__t.html">size_t</a> total_real_particles, <a class="el" href="class_s_p_h_1_1_base_particles.html">BaseParticles</a> &amp;source_particles, <a class="el" href="namespace_s_p_h.html#a720b2214c518c3299a6d4895dacddc50">ParticleConfiguration</a> &amp;particle_configuration, GetParticleIndex &amp;get_particle_index, GetSearchRange &amp;get_search_range, GetNeighborRelation &amp;get_neighbor_relation)</td></tr>
<tr class="separator:aa83d5000985b89b40625299fab372fea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_base_mesh_cell_linked_list"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_base_mesh_cell_linked_list')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_base_mesh_cell_linked_list.html">SPH::BaseMeshCellLinkedList</a></td></tr>
<tr class="memitem:a18327f6cebb5394cab4a0f8cd9a46bde inherit pub_methods_class_s_p_h_1_1_base_mesh_cell_linked_list"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh_cell_linked_list.html#a18327f6cebb5394cab4a0f8cd9a46bde">BaseMeshCellLinkedList</a> (<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> &amp;sph_body, <a class="el" href="class_s_p_h_1_1_particle_adaptation.html">ParticleAdaptation</a> &amp;particle_adaptation, <a class="el" href="namespace_s_p_h.html#ad185cdeb05bdee76bf975cc50f1c15b7">BoundingBox</a> tentative_bounds, Real grid_spacing, <a class="el" href="classsize__t.html">size_t</a> buffer_width=2)</td></tr>
<tr class="separator:a18327f6cebb5394cab4a0f8cd9a46bde inherit pub_methods_class_s_p_h_1_1_base_mesh_cell_linked_list"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_mesh"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_mesh')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_mesh.html">SPH::Mesh</a></td></tr>
<tr class="memitem:a3a7e9ff80687b511f65c6cba9afedeb4 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a id="a3a7e9ff80687b511f65c6cba9afedeb4"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Mesh</b> (<a class="el" href="namespace_s_p_h.html#ad185cdeb05bdee76bf975cc50f1c15b7">BoundingBox</a> tentative_bounds, Real grid_spacing, <a class="el" href="classsize__t.html">size_t</a> buffer_width)</td></tr>
<tr class="separator:a3a7e9ff80687b511f65c6cba9afedeb4 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75d3ee02338b9affcaca59c7c8d9ffc5 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a id="a75d3ee02338b9affcaca59c7c8d9ffc5"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Mesh</b> (Vecd mesh_lower_bound, <a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> number_of_cells, Real grid_spacing)</td></tr>
<tr class="separator:a75d3ee02338b9affcaca59c7c8d9ffc5 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88bc8e4b6213659d7398bf0eef964f23 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a id="a88bc8e4b6213659d7398bf0eef964f23"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>Name</b> ()</td></tr>
<tr class="separator:a88bc8e4b6213659d7398bf0eef964f23 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacda40c501e9d0545da816f918ef8f25 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a id="aacda40c501e9d0545da816f918ef8f25"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><b>NumberOfCells</b> ()</td></tr>
<tr class="separator:aacda40c501e9d0545da816f918ef8f25 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30aa391148361b419b89756906bd3d2e inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a id="a30aa391148361b419b89756906bd3d2e"></a>
<a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>MeshBufferSize</b> ()</td></tr>
<tr class="separator:a30aa391148361b419b89756906bd3d2e inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae99391ca2e48886deb412a961b2484a7 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#ae99391ca2e48886deb412a961b2484a7">isWithinMeshBound</a> (Vecd position)</td></tr>
<tr class="separator:ae99391ca2e48886deb412a961b2484a7 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89ec948078dc6c87481d35626eafa9a5 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a id="a89ec948078dc6c87481d35626eafa9a5"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><b>CellIndexFromPosition</b> (Vecd &amp;position)</td></tr>
<tr class="separator:a89ec948078dc6c87481d35626eafa9a5 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a504ac70f4141a6ac6a4f86928f202d37 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a id="a504ac70f4141a6ac6a4f86928f202d37"></a>
Vecd&#160;</td><td class="memItemRight" valign="bottom"><b>CellPositionFromIndex</b> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> cell_index)</td></tr>
<tr class="separator:a504ac70f4141a6ac6a4f86928f202d37 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_base_mesh"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_base_mesh')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_base_mesh.html">SPH::BaseMesh</a></td></tr>
<tr class="memitem:a06e00f3689429e2b174e3da6a7021900 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a id="a06e00f3689429e2b174e3da6a7021900"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>BaseMesh</b> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> number_of_grid_points)</td></tr>
<tr class="separator:a06e00f3689429e2b174e3da6a7021900 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00a3bee5412ec539c8cd068d504cd45b inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a id="a00a3bee5412ec539c8cd068d504cd45b"></a>
Vecd&#160;</td><td class="memItemRight" valign="bottom"><b>MeshLowerBound</b> ()</td></tr>
<tr class="separator:a00a3bee5412ec539c8cd068d504cd45b inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a075244782af1e6dccff264c569e29dab inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a id="a075244782af1e6dccff264c569e29dab"></a>
Real&#160;</td><td class="memItemRight" valign="bottom"><b>GridSpacing</b> ()</td></tr>
<tr class="separator:a075244782af1e6dccff264c569e29dab inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6f44b0d0886d0fd8cbbbded978fca8c inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a id="ad6f44b0d0886d0fd8cbbbded978fca8c"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><b>NumberOfGridPoints</b> ()</td></tr>
<tr class="separator:ad6f44b0d0886d0fd8cbbbded978fca8c inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae302fc10695090e00d24c39f8e9a2678 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a id="ae302fc10695090e00d24c39f8e9a2678"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><b>GridIndexFromPosition</b> (const Vecd &amp;position)</td></tr>
<tr class="separator:ae302fc10695090e00d24c39f8e9a2678 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8ead27d4828a6cdc50e5cdd56b7ae86 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a id="ad8ead27d4828a6cdc50e5cdd56b7ae86"></a>
Vecd&#160;</td><td class="memItemRight" valign="bottom"><b>GridPositionFromIndex</b> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> grid_index)</td></tr>
<tr class="separator:ad8ead27d4828a6cdc50e5cdd56b7ae86 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1926fe2d95f91ae08e16c12e46fca210 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a id="a1926fe2d95f91ae08e16c12e46fca210"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><b>transfer1DtoMeshIndex</b> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> number_of_grid_points, <a class="el" href="classsize__t.html">size_t</a> i)</td></tr>
<tr class="separator:a1926fe2d95f91ae08e16c12e46fca210 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab854b17cf6c10bf15eafcf1ad9c4f633 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a id="ab854b17cf6c10bf15eafcf1ad9c4f633"></a>
<a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>transferMeshIndexTo1D</b> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> number_of_grid_points, <a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> grid_index)</td></tr>
<tr class="separator:ab854b17cf6c10bf15eafcf1ad9c4f633 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2b22b19b1175c3e5d8c014e00a1602c inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#ae2b22b19b1175c3e5d8c014e00a1602c">MortonCode</a> (const <a class="el" href="classsize__t.html">size_t</a> &amp;i)</td></tr>
<tr class="separator:ae2b22b19b1175c3e5d8c014e00a1602c inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a815229fa561c3cf114a6ddb77bdb247c inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a815229fa561c3cf114a6ddb77bdb247c">transferMeshIndexToMortonOrder</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> grid_index)</td></tr>
<tr class="separator:a815229fa561c3cf114a6ddb77bdb247c inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a366378431a76e4d2bc1c5020b94f5822"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh_cell_linked_list.html#a366378431a76e4d2bc1c5020b94f5822">updateSplitCellLists</a> (<a class="el" href="namespace_s_p_h.html#ac592bbe202be73decfcbfe8201484ffa">SplitCellLists</a> &amp;split_cell_lists) override</td></tr>
<tr class="separator:a366378431a76e4d2bc1c5020b94f5822"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_s_p_h_1_1_base_mesh_cell_linked_list"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_s_p_h_1_1_base_mesh_cell_linked_list')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_s_p_h_1_1_base_mesh_cell_linked_list.html">SPH::BaseMeshCellLinkedList</a></td></tr>
<tr class="memitem:a987e39e47f21fff71ee821444dce62ed inherit pro_methods_class_s_p_h_1_1_base_mesh_cell_linked_list"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh_cell_linked_list.html#a987e39e47f21fff71ee821444dce62ed">clearSplitCellLists</a> (<a class="el" href="namespace_s_p_h.html#ac592bbe202be73decfcbfe8201484ffa">SplitCellLists</a> &amp;split_cell_lists)</td></tr>
<tr class="separator:a987e39e47f21fff71ee821444dce62ed inherit pro_methods_class_s_p_h_1_1_base_mesh_cell_linked_list"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_s_p_h_1_1_mesh"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_s_p_h_1_1_mesh')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_s_p_h_1_1_mesh.html">SPH::Mesh</a></td></tr>
<tr class="memitem:ae76f87848216771b3471ab055df2fd4a inherit pro_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a id="ae76f87848216771b3471ab055df2fd4a"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><b>NumberOfGridPointsFromNumberOfCells</b> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> number_of_cells)</td></tr>
<tr class="separator:ae76f87848216771b3471ab055df2fd4a inherit pro_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bcc73c0057b2808792b303995ef27ee inherit pro_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a id="a4bcc73c0057b2808792b303995ef27ee"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><b>NumberOfCellsFromNumberOfGridPoints</b> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> number_of_grid_points)</td></tr>
<tr class="separator:a4bcc73c0057b2808792b303995ef27ee inherit pro_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ee95055cea1e7ce73429cea1b4a1ccb inherit pro_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a id="a1ee95055cea1e7ce73429cea1b4a1ccb"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>copyMeshProperties</b> (<a class="el" href="class_s_p_h_1_1_mesh.html">Mesh</a> *another_mesh)</td></tr>
<tr class="separator:a1ee95055cea1e7ce73429cea1b4a1ccb inherit pro_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3082045653c5b076acf14ea23c862021 inherit pro_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a id="a3082045653c5b076acf14ea23c862021"></a>
Vecd&#160;</td><td class="memItemRight" valign="bottom"><b>GridPositionFromCellPosition</b> (Vecd &amp;cell_position)</td></tr>
<tr class="separator:a3082045653c5b076acf14ea23c862021 inherit pro_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a125e39d3a0fbf1f800afbe443d64e8 inherit pro_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a id="a0a125e39d3a0fbf1f800afbe443d64e8"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>initializeWithBoundingBox</b> (<a class="el" href="namespace_s_p_h.html#ad185cdeb05bdee76bf975cc50f1c15b7">BoundingBox</a> tentative_bounds, Real grid_spacing, <a class="el" href="classsize__t.html">size_t</a> buffer_width)</td></tr>
<tr class="separator:a0a125e39d3a0fbf1f800afbe443d64e8 inherit pro_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a779f66201dda742f7888bd6f17dc4288"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_cell_list.html">matrix_cell</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh_cell_linked_list.html#a779f66201dda742f7888bd6f17dc4288">cell_linked_lists_</a></td></tr>
<tr class="separator:a779f66201dda742f7888bd6f17dc4288"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_base_mesh_cell_linked_list"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_base_mesh_cell_linked_list')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_base_mesh_cell_linked_list.html">SPH::BaseMeshCellLinkedList</a></td></tr>
<tr class="memitem:ac333901a844fdd715d73ce6f30ebd706 inherit pro_attribs_class_s_p_h_1_1_base_mesh_cell_linked_list"><td class="memItemLeft" align="right" valign="top"><a id="ac333901a844fdd715d73ce6f30ebd706"></a>
<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>sph_body_</b></td></tr>
<tr class="separator:ac333901a844fdd715d73ce6f30ebd706 inherit pro_attribs_class_s_p_h_1_1_base_mesh_cell_linked_list"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b4b38e746cc5fd060df7bb3798a4f7d inherit pro_attribs_class_s_p_h_1_1_base_mesh_cell_linked_list"><td class="memItemLeft" align="right" valign="top"><a id="a6b4b38e746cc5fd060df7bb3798a4f7d"></a>
<a class="el" href="class_s_p_h_1_1_kernel.html">Kernel</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>kernel_</b></td></tr>
<tr class="separator:a6b4b38e746cc5fd060df7bb3798a4f7d inherit pro_attribs_class_s_p_h_1_1_base_mesh_cell_linked_list"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03692b474e9668cfc6a956c765e4da84 inherit pro_attribs_class_s_p_h_1_1_base_mesh_cell_linked_list"><td class="memItemLeft" align="right" valign="top"><a id="a03692b474e9668cfc6a956c765e4da84"></a>
<a class="el" href="class_s_p_h_1_1_base_particles.html">BaseParticles</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>base_particles_</b></td></tr>
<tr class="separator:a03692b474e9668cfc6a956c765e4da84 inherit pro_attribs_class_s_p_h_1_1_base_mesh_cell_linked_list"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_mesh"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_mesh')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_mesh.html">SPH::Mesh</a></td></tr>
<tr class="memitem:a53919346ce309d932f3c1e86b0603a73 inherit pro_attribs_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a id="a53919346ce309d932f3c1e86b0603a73"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>name_</b></td></tr>
<tr class="separator:a53919346ce309d932f3c1e86b0603a73 inherit pro_attribs_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a973c2ce893d6b11b2c53cc1ba5fdd846 inherit pro_attribs_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a973c2ce893d6b11b2c53cc1ba5fdd846">buffer_width_</a></td></tr>
<tr class="separator:a973c2ce893d6b11b2c53cc1ba5fdd846 inherit pro_attribs_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8996ae22420ea203e1206c2c7466d716 inherit pro_attribs_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a8996ae22420ea203e1206c2c7466d716">number_of_cells_</a></td></tr>
<tr class="separator:a8996ae22420ea203e1206c2c7466d716 inherit pro_attribs_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_base_mesh"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_base_mesh')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_base_mesh.html">SPH::BaseMesh</a></td></tr>
<tr class="memitem:ac8559448b24066e06263bff0aa5ba75b inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#ac8559448b24066e06263bff0aa5ba75b">mesh_lower_bound_</a></td></tr>
<tr class="separator:ac8559448b24066e06263bff0aa5ba75b inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6c2e186b771c3573486cdcbaa362b25 inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#af6c2e186b771c3573486cdcbaa362b25">grid_spacing_</a></td></tr>
<tr class="separator:af6c2e186b771c3573486cdcbaa362b25 inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e1e27e30924c3390d8cdd20dba606fd inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a5e1e27e30924c3390d8cdd20dba606fd">number_of_grid_points_</a></td></tr>
<tr class="separator:a5e1e27e30924c3390d8cdd20dba606fd inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Defining a mesh cell linked list for a body. The meshes for all bodies share the same global coordinates. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a9c613140524b249bacdda660ea034c4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c613140524b249bacdda660ea034c4f">&#9670;&nbsp;</a></span>allocateMeshDataMatrix()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::MeshCellLinkedList::allocateMeshDataMatrix </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>allocate memories for the mesh data matrix </p>

<p>Reimplemented from <a class="el" href="class_s_p_h_1_1_mesh.html#a75a0a64782e5c162b63d9f2e5388e83d">SPH::Mesh</a>.</p>

</div>
</div>
<a id="a1b58d3ca4e60cb4a8cea294e8d4f8f1b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b58d3ca4e60cb4a8cea294e8d4f8f1b">&#9670;&nbsp;</a></span>assignBaseParticles()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::MeshCellLinkedList::assignBaseParticles </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_base_particles.html">BaseParticles</a> *&#160;</td>
          <td class="paramname"><em>base_particles</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Assign base particles to the mesh cell linked list, and is important because particles are not defined in the constructor. <br  />
 </p>

<p>Implements <a class="el" href="class_s_p_h_1_1_base_mesh_cell_linked_list.html#addc1a14963813126a2ddfd029ae6da53">SPH::BaseMeshCellLinkedList</a>.</p>

</div>
</div>
<a id="ad59e41c37c358ddd30fedd194f4e8673"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad59e41c37c358ddd30fedd194f4e8673">&#9670;&nbsp;</a></span>computingSequence()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::MeshCellLinkedList::computingSequence </td>
          <td>(</td>
          <td class="paramtype">StdLargeVec&lt; <a class="el" href="classsize__t.html">size_t</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>sequence</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>computing the sequence which indicate the order of sorted particle data </p>

<p>Implements <a class="el" href="class_s_p_h_1_1_base_mesh_cell_linked_list.html#af111d1a1118c6db6a19d8b44811393d0">SPH::BaseMeshCellLinkedList</a>.</p>

</div>
</div>
<a id="ada1a1f766ca5a8ba020bfaed1365fe20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada1a1f766ca5a8ba020bfaed1365fe20">&#9670;&nbsp;</a></span>deleteMeshDataMatrix()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::MeshCellLinkedList::deleteMeshDataMatrix </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>delete memories for mesh data </p>

<p>Reimplemented from <a class="el" href="class_s_p_h_1_1_mesh.html#a5ca7dadadab4591cde089b6db689cf86">SPH::Mesh</a>.</p>

</div>
</div>
<a id="abd59a167627596a884755d3d16000b75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd59a167627596a884755d3d16000b75">&#9670;&nbsp;</a></span>findNearestListDataEntry()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_s_p_h.html#a7fbc15167459a37683f40cb4a5aa0f06">ListData</a> SPH::MeshCellLinkedList::findNearestListDataEntry </td>
          <td>(</td>
          <td class="paramtype">Vecd &amp;&#160;</td>
          <td class="paramname"><em>position</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>find the nearest list data entry </p>

<p>Implements <a class="el" href="class_s_p_h_1_1_base_mesh_cell_linked_list.html#ac40dd15b13323d2d2a1c308cbf807af7">SPH::BaseMeshCellLinkedList</a>.</p>

</div>
</div>
<a id="a7c9cf2d1e07d89889290ee1898360837"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c9cf2d1e07d89889290ee1898360837">&#9670;&nbsp;</a></span>InsertACellLinkedListDataEntry()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::MeshCellLinkedList::InsertACellLinkedListDataEntry </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>particle_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Vecd&#160;</td>
          <td class="paramname"><em>particle_position</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Insert a cell-linked_list entry of the index and particle position pair. </p>

<p>Implements <a class="el" href="class_s_p_h_1_1_base_mesh_cell_linked_list.html#a944de97f05bd6329ef454d9fd2bd483d">SPH::BaseMeshCellLinkedList</a>.</p>

</div>
</div>
<a id="a8746ce9df2de1eaae23f8db58e338d3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8746ce9df2de1eaae23f8db58e338d3c">&#9670;&nbsp;</a></span>insertACellLinkedParticleIndex()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::MeshCellLinkedList::insertACellLinkedParticleIndex </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>particle_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Vecd&#160;</td>
          <td class="paramname"><em>particle_position</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Insert a cell-linked_list entry to the concurrent index list. </p>

<p>Implements <a class="el" href="class_s_p_h_1_1_base_mesh_cell_linked_list.html#ad080cedda0ee36819b73dddfbbc1aa99">SPH::BaseMeshCellLinkedList</a>.</p>

</div>
</div>
<a id="aa83d5000985b89b40625299fab372fea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa83d5000985b89b40625299fab372fea">&#9670;&nbsp;</a></span>searchNeighborsByParticles()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename GetParticleIndex , typename GetSearchRange , typename GetNeighborRelation &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void SPH::MeshCellLinkedList::searchNeighborsByParticles </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>total_real_particles</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_base_particles.html">BaseParticles</a> &amp;&#160;</td>
          <td class="paramname"><em>source_particles</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_s_p_h.html#a720b2214c518c3299a6d4895dacddc50">ParticleConfiguration</a> &amp;&#160;</td>
          <td class="paramname"><em>particle_configuration</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GetParticleIndex &amp;&#160;</td>
          <td class="paramname"><em>get_particle_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GetSearchRange &amp;&#160;</td>
          <td class="paramname"><em>get_search_range</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GetNeighborRelation &amp;&#160;</td>
          <td class="paramname"><em>get_neighbor_relation</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>generalized particle search algorithm </p>

</div>
</div>
<a id="afc6a8456e3cd0b9c5a48a24bc527aec8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc6a8456e3cd0b9c5a48a24bc527aec8">&#9670;&nbsp;</a></span>tagBodyDomainBoundingCells()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::MeshCellLinkedList::tagBodyDomainBoundingCells </td>
          <td>(</td>
          <td class="paramtype">StdVec&lt; <a class="el" href="namespace_s_p_h.html#a54f9b375e654fcf04192f5a123495808">CellLists</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>cell_lists</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_s_p_h.html#ad185cdeb05bdee76bf975cc50f1c15b7">BoundingBox</a> &amp;&#160;</td>
          <td class="paramname"><em>body_domain_bounds</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classint.html">int</a>&#160;</td>
          <td class="paramname"><em>axis</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Tag domain bounding cells in an axis direction, called by domain boudning classes </p>

<p>Implements <a class="el" href="class_s_p_h_1_1_base_mesh_cell_linked_list.html#a0f5b0383f2668019643df8761246527c">SPH::BaseMeshCellLinkedList</a>.</p>

</div>
</div>
<a id="a946badf5235c75ef060f9a5081424b04"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a946badf5235c75ef060f9a5081424b04">&#9670;&nbsp;</a></span>tagBodyPartByCell()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::MeshCellLinkedList::tagBodyPartByCell </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_s_p_h.html#a54f9b375e654fcf04192f5a123495808">CellLists</a> &amp;&#160;</td>
          <td class="paramname"><em>cell_lists</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::function&lt; <a class="el" href="classbool.html">bool</a>(Vecd, Real)&gt; &amp;&#160;</td>
          <td class="paramname"><em>check_included</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Tag body part by cell, call by body part </p>

<p>Implements <a class="el" href="class_s_p_h_1_1_base_mesh_cell_linked_list.html#a811c9f52e53982d2e66202625e682c30">SPH::BaseMeshCellLinkedList</a>.</p>

</div>
</div>
<a id="a22672d86d257723623d17c2d033d0378"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a22672d86d257723623d17c2d033d0378">&#9670;&nbsp;</a></span>tagMirrorBoundingCells()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::MeshCellLinkedList::tagMirrorBoundingCells </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_s_p_h.html#a54f9b375e654fcf04192f5a123495808">CellLists</a> &amp;&#160;</td>
          <td class="paramname"><em>cell_lists</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_s_p_h.html#ad185cdeb05bdee76bf975cc50f1c15b7">BoundingBox</a> &amp;&#160;</td>
          <td class="paramname"><em>body_domain_bounds</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classint.html">int</a>&#160;</td>
          <td class="paramname"><em>axis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classbool.html">bool</a>&#160;</td>
          <td class="paramname"><em>positive</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Tag mirror bounding cells, called by mirror boundary condition </p>

<p>Implements <a class="el" href="class_s_p_h_1_1_base_mesh_cell_linked_list.html#a6c8a9a16b596c2f50eb016060040dcea">SPH::BaseMeshCellLinkedList</a>.</p>

</div>
</div>
<a id="a8c9d043f14c2b4c80f2fc7f7580d05bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c9d043f14c2b4c80f2fc7f7580d05bb">&#9670;&nbsp;</a></span>UpdateCellLists()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::MeshCellLinkedList::UpdateCellLists </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>update the cell lists </p>

<p>Implements <a class="el" href="class_s_p_h_1_1_base_mesh_cell_linked_list.html#a63755fbcd778da3d392e4625f6d570ef">SPH::BaseMeshCellLinkedList</a>.</p>

</div>
</div>
<a id="a366378431a76e4d2bc1c5020b94f5822"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a366378431a76e4d2bc1c5020b94f5822">&#9670;&nbsp;</a></span>updateSplitCellLists()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::MeshCellLinkedList::updateSplitCellLists </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_s_p_h.html#ac592bbe202be73decfcbfe8201484ffa">SplitCellLists</a> &amp;&#160;</td>
          <td class="paramname"><em>split_cell_lists</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>update split particle list in this mesh </p>

<p>Implements <a class="el" href="class_s_p_h_1_1_base_mesh_cell_linked_list.html#ad980615aed277f748a06aa3ca97c3273">SPH::BaseMeshCellLinkedList</a>.</p>

</div>
</div>
<a id="a45cd0d458dd88bbb4a6ae84c786c6655"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a45cd0d458dd88bbb4a6ae84c786c6655">&#9670;&nbsp;</a></span>writeMeshToPltFile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::MeshCellLinkedList::writeMeshToPltFile </td>
          <td>(</td>
          <td class="paramtype">std::ofstream &amp;&#160;</td>
          <td class="paramname"><em>output_file</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>output mesh data for Tecplot visualization </p>

<p>Reimplemented from <a class="el" href="class_s_p_h_1_1_mesh.html#aab964713400107989e2b256b33df97a8">SPH::Mesh</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a779f66201dda742f7888bd6f17dc4288"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a779f66201dda742f7888bd6f17dc4288">&#9670;&nbsp;</a></span>cell_linked_lists_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_cell_list.html">matrix_cell</a> SPH::MeshCellLinkedList::cell_linked_lists_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The array for of mesh cells, i.e. mesh data. Within each cell, a list is saved with the indexes of particles. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>SPHINXsys/src/shared/meshes/<a class="el" href="mesh__cell__linked__list_8h_source.html">mesh_cell_linked_list.h</a></li>
<li>SPHINXsys/src/for_2D_build/meshes/<a class="el" href="for__2_d__build_2meshes_2mesh__cell__linked__list_8hpp_source.html">mesh_cell_linked_list.hpp</a></li>
<li>SPHINXsys/src/for_2D_build/meshes/mesh_cell_linked_list_supplementary.cpp</li>
<li>SPHINXsys/src/shared/meshes/<a class="el" href="mesh__cell__linked__list_8cpp.html">mesh_cell_linked_list.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
